package com.mapper;

import com.pojo.Role;
import com.util.Pager;

import java.util.List;

public interface RoleMapper extends BaseMapper<Role> {
    Role searchByRole(String rid);
    List<Role> searchRolePager(Pager<Role> pager);
    Integer total(Pager pager);
    int deleteRole(Integer rid);
}
